import {marked} from 'marked'

marked.setOptions({
})

export const markedLine = (content: string | undefined) => {
    if (!content) return null;
    return marked.parseInline(content)
}
export const markedText = (content: string | undefined) => {
    if (!content) return null;
    return marked.parse(content)
}